package org.zhaozhen.org.mapper;

import org.zhaozhen.basic.mapper.BaseMapper;
import org.zhaozhen.org.domain.Employee;
import org.zhaozhen.org.query.EmployeeQuery;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee>{

    /**
     * 根据username查询是否存在已有的用户
     * @param username
     * @return
     */
    Employee loadByUser(String username);

    Employee loadByLogininfo_id(Long id);
}
